


man(1)                   USER COMMANDS                     man(1)



NAME
     man - format and display the on-line manual pages

SYNOPSIS
     man [-afhkt] [-M path] [-P pager] [-S system] [section] name
     ...

DESCRIPTION
     man formats and displays the  on-line  manual  pages.   This
     version  knows about the MANPATH and PAGER environment vari-
     ables, so you can have your own set(s) of personal man pages
     and  choose whatever program you like to display the format-
     ted pages.  If section is specified, man only looks in  that
     section of the manual.

OPTIONS
     -P  pager
          Specify which pager to use.  By default, man uses less,
          which  has the ability to backup on files and pipes, so
          you can go backwards while reading  the  manual.   This
          option overrides the PAGER environment variable.

     -M  path
          Specify an alternate manpath.   By  default,  man  uses
          manpath  to  determine the path to search.  This option
          overrides the MANPATH environment variable.

     -a   By default, man will exit after  displaying  the  first
          manual  page it finds.  Using this option forces man to
          display all the manual pages that match name, not  just
          the first.

     -f   Equivalent to whatis.

     -h   Print a one line help message and exit.

     -k   Equivalent to apropos.

     -t   Use troff to format the manual page, passing the output
          to  stdout. Normally the output from troff will need to
          be passed through some filter or another  before  being
          printed.

ENVIRONMENT
     MANPATH  If MANPATH is set, man uses its value as  the  path
              to search for manual pages.

     PAGER    If PAGER is set, man uses its value as the name  of
              the  program  to  use  to display the man page.  By
              default, less is used.





Sun Release 4.1     Last change: Jan 5, 1991                    1






man(1)                   USER COMMANDS                     man(1)



SEE ALSO
     apropos(1),  whatis(1),   manpath(1),   less(1),   nroff(1),
     troff(1), psdit(1).

BUGS
     The -t option only works if troff is installed.

     less is sometimes confused by underlined text.















































Sun Release 4.1     Last change: Jan 5, 1991                    2



